﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace VehicleMaintenance.Framework
{
	public partial class ListBaseForm : BaseForm
	{
		private bool isSelect = true;
		/// <summary>
		/// 是选择窗口还是维护窗口
		/// </summary>
		protected bool IsSelect
		{
			get { return isSelect; }
			set
			{
				isSelect = value;
				if (isSelect)
				{
					this.Text += "--双击列表选择";
				}
			}
		}


		public ListBaseForm()
		{
			InitializeComponent();
		}

		private void btnClose_Click(object sender, EventArgs e)
		{
			try
			{
				this.Close();
			}
			catch (Exception ex)
			{
				this.ShowInfo(ex.Message);
			}
		}
	}
}
